<?php
/**
 * Content Model
 */
namespace PUF;

class Content extends Model {
	protected static $useTable = 'contents';
	
	public function getLink() {
		$route = new Route(null, 'contents', 'detail', $this->id);
		
		return $route->getUrl();
	}
}